package com.lbl.repository;

import com.lbl.dataObject.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by 李柏霖
 * 2020-10-09 21:34
 * 继承JpaRepository这个接口，就具备了CRUD操作
 */
public interface ProductCategoryRepository extends JpaRepository<ProductCategory, Integer> {


    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);
}
